#ifndef __COROUTINE_H
#define __COROUTINE_H

#define cr_start() \
        static int __s = 0; \
        switch (__s) { \
            case 0:
            
#define cr_yield \
        { __s = __LINE__; \
            return; \
          case __LINE__: ; \
        }
          
#define cr_end() \
        } __s = 0; 

#endif
